home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / Pete Johnson / TExport 2.0.sit / About TExport… < prev    next >
Encoding:
Text File  |  1991-06-27  |  23.1 KB  |  482 lines  |  [TEXT/QED1]

  1.  
  2.                               About TExport…
  3.  
  4. TExport is a Second SIght 2.x/Tabby 2.0 utility designed to create a text file of pending NetMail messages for use by Tabby 2.0. TExport should be placed as an Event just prior to TabbyNet SendNews.
  5.  
  6. TExport scans your messages looking for locally-posted network messages -- in local or Echo sections. When it finds a qualifying message, it writes it to the Generic Export file for use by Tabby, sets a “processed” flag on the message so it won’t be processed again (no dupes!) and writes its message number to its own “highest message read” STR  resource. The next time it is run, it begins reading messages after the “highest message read” number, making sure that it doesn’t process any messages with “processed” flags set.
  7.  
  8. To set up TExport, just put it at the same level as Second Sight and Tabby. Launch TExport while holding down the mouse button and configure it according to the following instructions. Then insert TExport in all Tabby events just before Tabby SendMail and SendNews.
  9.  
  10. Since it runs with with Tabby 2.0, TExport expects to find a file called “Generic” (no quotes) at the same level as Second Sight and TExport. Before you run TExport, make sure you have a text file called Generic with the path where you want TExport to write its resulting text file (which is called “Generic Export”). The Generic text file should contain a single line of text ending in a colon, followed by a carriage return, like so
  11.  
  12. Glass:Tabby:Generic:
  13.  
  14. This is the location in which Tabby 2.0 creates and processes its
  15. “Generic” files: Generic Import, Generic Export and Generic Echoes.
  16. (Generic Import is a text file of incoming messages created by Tabby for
  17. TImport or a similar utility to process; Generic Export is a text file
  18. of outgoing messages created by TExport or a similar message exporting
  19. utility for Tabby to process; Generic Echoes is an interim text file
  20. which Tabby uses to hold Echomail pending its distribution by Tabby to
  21. other nodes in your Routing file.)
  22.  
  23. TExport writes a short report of its activity to the Tabby Log which,
  24. with Tabby 2.0, is found inside a folder called “Tabby.”
  25.  
  26. To set up TExport, copy it to the same level as Second Sight and Tabby. Launch TExport while holding down the mouse button to tell TExport your preferences.
  27.  
  28. A dialog box with two edit fields and seven check boxes will appear:
  29.  
  30. Edit fields
  31. -----------
  32. Next Launch:                [fill in the name of your BBS application]
  33. TEXT Creator:               [fill in the type of TEXT file you want created]
  34.  
  35. Check boxes (all should normally be enabled)
  36. -----------
  37. Delete Sent NetMail:       [mark processed private mail for delete]
  38. DeCapitalize Names:        [change UPPERCASE NAMES to Caps And Lower Case]
  39. Origin for Private Mail:   [add origin line to private messages]
  40. Normal Operation:          [scan messages after last message processed]
  41. ASCII Filter:              [eliminates high bit characters like “ and ”]
  42. Squelch Twits:             [deletes messages posted by users with Bad Names]
  43. Section Count:             [writes section by section count to Tabby Log]
  44.  
  45. Next Launch
  46. -----------
  47. The first edit field is used in case TExport is launched on its own, without a
  48. launch.next file. When it is finished, it launches this application, which is
  49. normally Second Sight. The label for this field is actually a button -- click
  50. it to find the next application to launch, then select the application and
  51. TExport will insert its name in the edit field.
  52.  
  53. TEXT Creator
  54. ------------
  55. TExport will set this creator on any text files it opens, including the Tabby Log. Some common TEXT creator types are as follows:
  56.  
  57. WDBN     Microsoft Word
  58. QED1     QUED
  59. MACA     MacWrite
  60. McSk     McSink
  61. TABY     Tabby
  62.  
  63. Delete Sent NetMail
  64. -------------------
  65. Normally, TExport deletes private NetMail after it is exported. If
  66. you want to keep it around for some reason, check this box (but
  67. you’ll have to delete your own mail).
  68.  
  69. DeCapitalize
  70. ------------
  71. If you want to change all UPPER CASE names to Upper And Lower Case in
  72. exported messages (PETE JOHNSON -> Pete Johnson), check this box.
  73.  
  74. Origin for Private Mail
  75. -----------------------
  76. If you want to add an Origin Line -- the same as on Echo messages -- to
  77. your private mail, check this box.
  78.  
  79. Normal Operation
  80. ----------------
  81. Scans messages after the last message processed. If this box is not checked,
  82. TExports scans *all* messages, which is much slower.
  83.  
  84. ASCII Filter
  85. ------------
  86. Translates high bit characters such as quote marks, ellipses, accented characters etc. into normal ASCII equivalents. TExport does the following conversions:
  87.  
  88.   ’ to '
  89.   ‘ to '
  90.   “ to "
  91.   ” to "
  92.   — to -
  93.   … to -
  94.   • to *
  95.   ™ to t
  96.   © to c
  97.   ® to r
  98.   ü to u
  99.   é to e'
  100.   è to e
  101.  
  102. All other high bit characters are converted to periods (.).
  103.  
  104. Squelch Twits
  105. -------------
  106. You can create a file called 'Bad User Names' (no quotes) at your BBS/Tabby level to screen out messages from certain obvious bad characters. This text file holds up to 100 words of up to 15 characters per line in the following manner:
  107.  
  108. DEATH
  109. HACKER
  110. SWEARWORD
  111. TERMINATOR
  112.  
  113. etc., with each line ending in a carriage return. With the preceding list, if a user logged on with the name DOCTOR DEATH and posted a message, TExport would delete the message without exporting it. TExport deletes any locally-posted message from a user whose first or last name contains any word in this file. Caps and lower case make no difference. Deleted messages are recorded in the Tabby Log. If no Bad User Names file exists, this feature is not active.
  114.  
  115. Section Count
  116. -------------
  117. Itemizes section counts in the Tabby Log as follows:
  118.  
  119. 06/27/91 1:36:35 TExport - Program Starting (v 2.0)
  120. 06/27/91 1:36:37 TExport - 3 Messages from General #2
  121. 06/27/91 1:36:37 TExport - 2 Messages from Help #5
  122. 06/27/91 1:36:37 TExport - 5 Messages Total
  123. 06/27/91 1:36:37 TExport - Program Ending
  124.  
  125. Each entry indicates the count for that section and the message section number.
  126.  
  127.  
  128. Once you have configured TExport, insert TExport in all Tabby events
  129. just before TabbyNet SendNews and TabbyNet SendMail. Run Tabby Maint and
  130. use its “Events” menu to insert TExport in each TabbyNet event just
  131. before these two events. This enables TExport to create the Generic
  132. Export file which TabbyNet SendNews and TabbyNet SendMail process. A
  133. typical short TabbyNet event might look like this:
  134.  
  135.         ||||||| ------------------------------------- insert it here
  136.         |||||||
  137. BusyOut,TExport,TabbyNet SendNews,TabbyNet SendMail,TabbyNet,BusyOut,
  138. ArcMail Extract,TabbyNet DeliverMail,TImport,TSet,Second Sight
  139.  
  140. In addition to modifying TabbyNet Events, you should also use ResEdit to
  141. insert TExport in one other place:
  142.  
  143. STR# 301 in Tabby Robot determines what the android tells TabbyNet to run
  144. when you use Tabby Robot to Crash other boards. Here is a sample working
  145. setup:
  146.  
  147.         ||||||| ------------------------------------- insert it here
  148.         |||||||
  149. BusyOut,TExport,TabbyNet SendNews,TabbyNet SendMail,TabbyNet,BusyOut,
  150. ArcMail Extract,TabbyNet DeliverMail,TImport,Second Sight
  151.  
  152. As you might notice, it’s identical in this case to the TabbyNet Event,
  153. except for the omission of TSet.
  154.  
  155. Version History:
  156.  
  157. Version 1.0ß10 of TExport fixes a bug -- TExport was not writing Node
  158. numbers for private NetMail messages (it used to -- I created that bug
  159. when I fixed something else) -- and adds a feature: TExport now writes a
  160. few lines to the Tabby Log to indicate it’s been run.
  161.  
  162. Version 1.0ß11 of TExport has the following changes:
  163.  
  164. • Added new default selection to choose whether or not to DeCapitalize
  165. names (PETE JOHNSON -> Pete Johnson) in To: and From: message fields.
  166.  
  167. • Took out code to update Config file next event time, and moved this
  168. function to a separate application, TSet.
  169.  
  170. Version 1.0 (no longer beta!) of TExport has the following changes:
  171.  
  172. • When TExport sees that a message is a reply to another message, it
  173. prepends “Re: ” to the subject of the message, if
  174.   A> The subject doesn’t already begin with “Re: ”
  175.            - and -
  176.   B> The subject isn’t already too long.
  177.   
  178.   I borrowed this convention from messages I saw coming from MSDOS Fido
  179. boards.
  180.  
  181. • Since Tabby writes to the Tabby Log like so:
  182.  
  183. 05/03/89 1:05:49 SendNews - Program Starting
  184. 05/03/89 1:05:55 SendNews - 11 News Articles Processed
  185. 05/03/89 1:05:55 SendNews - Program Ending
  186. 05/03/89 1:05:57 SendMail - Program Starting
  187. 05/03/89 1:06:10 SendMail - Program Ending
  188.  
  189. (notice the lack of a leading zero on the hour, even though other numbers
  190. are padded with leading zeroes)
  191.  
  192. and TImport and TExport were writing like so:
  193.  
  194. 05/03/89 03:34:12 TImport  - Program Starting
  195. 05/03/89 03:35:57 TImport  - 140 Messages Imported
  196. 05/03/89 03:35:57 TImport  - Program Ending
  197. 05/03/89 03:52:19 TExport  - Program Starting
  198. 05/03/89 03:52:21 TExport  - 0 Messages Exported
  199. 05/03/89 03:52:21 TExport  - Program Ending
  200.  
  201. I modified TImport and TExport to not use leading zeroes on the hour, so
  202. their reports blend better into the Tabby Log.
  203.  
  204. Version 1.3 of TExport is rewritten to make it smaller, faster and
  205. “BBS-aware” -- if you follow Michael Connick’s instructions and end your
  206. Events file with “BBS” and if TExport is the last event in the chain,
  207. TExport will translate BBS into whatever name you’ve configured Tabby to
  208. recognize as your BBS.
  209.  
  210. Version 1.31 fixes some bugs which crept into the version 1.3 overhaul.
  211.  
  212. Version 1.32 fixes more bugs which crept into the version 1.3 overhaul
  213. and adds a feature: private NetMail messages are now tagged with the
  214. system's Origin Line and Node Number.
  215.  
  216. Version 1.4 adds buttons to the configuration interface to eliminate
  217. spelling errors. You can use the “highest message number” button to read
  218. the high message number from your MESSAGES file.
  219.  
  220. Version 1.5 notices AreaFix messages and doesn’t append the system's
  221. Origin Line and Node Number to private netmail sent to AreaFix. In
  222. addition, it puts a line of three hyphens (---) at the end of private
  223. netmail to inform Tabby and Fido programs which follow the convention of
  224. AreaFix to disregard all text following the three hyphens. It also runs
  225. correctly with other launch.next events under MultiFinder.
  226.  
  227. Version 1.6 handles ^A lines in messages for compatibility with point
  228. software.
  229.  
  230. Version 1.7 allows you to turn off private message origin lines, since
  231. at least one Fido Host was not amused by these (though they don't
  232. violate any Fido specs).
  233.  
  234. Version 1.8 greatly simplifies the interface and operation by ignoring message
  235. numbers. Instead, TExport simply looks for messages that have not been
  236. previously processed, regardless of number. This allows TExport to work
  237. seamlessly in conjunction with renumbering and the idiosyncrasies of other
  238. message utilities.
  239.  
  240. Version 1.9 speeds up TExport's processing substantially after its first run
  241. through the messages.
  242.  
  243. Version 1.91 adds Normal toggle in the Configure dialog to enable a complete
  244. rescan of all messages (useful under unusual circumstances). TExport will
  245. still not export any message that has its “processed” flag set.
  246.  
  247. Version 1.92 adds version number to running dialog and allows you to set the
  248. type for any TEXT files processed by TExport.
  249.  
  250. Version 1.93 processes 'McNames' correctly if you have TExport set to
  251. DeCapitalize.
  252.  
  253. Version 1.95 of June 19, 1991, adds an ASCII filter which can be set to remove high bits from messages, uses a file called “Bad User Names” at the BBS root level for a source of forbidden user names whose messages it automatically deletes and allows you to see the sections from which messages are posted with Tabby Log entries in the following style:
  254.  
  255. 06/19/91 19:21:35 TExport - Program Starting
  256. 06/19/91 19:21:38 TExport - **Deleted** Message from Fearsome Fred
  257. 06/19/91 19:21:38 TExport - Sent 1 Message from General (Section 2)
  258. 06/19/91 19:21:38 TExport - Sent 2 Messages from So Cal Mac Sysop (Section 25)
  259. 06/19/91 19:21:38 TExport - Sent 1 Message from System 7 (Section 40)
  260. 06/19/91 19:21:38 TExport - Sent 4 Messages Total
  261. 06/19/91 19:21:38 TExport - Program Ending
  262.  
  263. The Bad User Names file is a text file consisting of one word -- 15 characters or less, please -- per line in the following form:
  264.  
  265. DEVIL
  266. SATAN
  267. CRASHER
  268. CUSSWORD
  269. FEARSOME
  270.  
  271. Each word is followed by a carriage return, including the last line. Messages posted by any user whose first name or last name matches any of these entries -- caps and lower case don’t matter -- are deleted by TExport, with a note to the Tabby Log, as above. You can have up to 100 names in this file. If you don't have a Bad User Names file, no messages are deleted.
  272.  
  273. Version 2.0 of June 27, 1991, adds color icons, refines the Tabby Log report a bit, has SIZE resource and more.
  274.  
  275. -- Pete Johnson
  276.  
  277.    PETERJ on GEnie
  278.  
  279.    Glassell Park BBS
  280.    (213) 254-4133
  281.    Post Office Box 65074
  282.    Los Angeles, CA 90065
  283.  
  284.    June 27, 1991
  285.  
  286. --------------------------------------------------------------------------
  287.  
  288.                                Appendix A
  289.  
  290.                  TImport, TExport and TSet: An Overview
  291.  
  292. Three utilities are required to link Second SIght 2.x and Tabby 2.0: my versions are called TImport, TExport and TSet. Without these utilities, or similar utilities written by Mike Lininger or authors to come, Second Sight and Tabby cannot communicate with each other. Second Sight has no built-in method for talking to Tabby, and Tabby has no built-in method for communicating with Second Sight. Instead, Tabby author Michael Connick defined a text file format for “generic” messages which Tabby produces and reads.
  293.  
  294. There are three “flavors” of generic files: Generic Import, a text file
  295. created by TabbyNet containing the text of inbound messages; Generic
  296. Export, a text file created by a utility such as TExport containing the
  297. text of outbound messages; and Generic Echoes, a text file which TabbyNet
  298. uses to hold EchoMail pending its distribution to other nodes.
  299.  
  300. TImport reads the content of the Generic Import file and converts each text message into a valid Second Sight message. It then marks the processed text messages for deletion. TImport should be run just after TabbyNet DeliverMail, the TabbyNet component which creates the Generic Import file, and it should be run whenever TabbyNet DeliverMail is run -- whether in a NetMail Event or a CrashMail Event. TImport converts both Echoes and Private NetMail messages into proper Second Sight messages. In order to do its job, TImport initially must be told which section to use for Private NetMail. You can configure TImport by running it while holding down the mouse button and entering the Private NetMail section number, along with the name of your Second Sight application. Read the documentation on TImport for additional information.
  301.  
  302. TExport reads Second Sight messages, looking for network items. To
  303. qualify for export, a message must be entered locally and must be in a
  304. Private NetMail or Public Echo section. TExport keeps track of the
  305. messages it processes: it sets a flag on processed messages so that they
  306. will never be processed again, and it keeps track of the highest message
  307. it’s looked at and starts each session with the next higher numbered
  308. active message. TExport creates a text file called Generic Export, which
  309. TabbyNet subsequently processes. TExport should be run just before the
  310. TabbyNet “Send” duo: TabbyNet SendMail and TabbyNet SendNews, and it
  311. should be run whenever they are run -- whether in a NetMail Event or a
  312. CrashMail Event. They will take the Generic Export contents and turn the
  313. text into outbound messages. TExport rarely has to deal with a high volume
  314. of messages unless you are lucky enough to have a very active base of
  315. message-posters. TExport does not touch Echo Mail which is being routed to
  316. other boards -- TabbyNet keeps pending mail in the Generic Echoes file.
  317. TExport needs to be configured when it is first run: hold down the mouse
  318. button while launching it and tell it the “highest message read” (enter
  319. the highest active message number on your board) and the name of your Second Sight application, in addition to some options. Read the specific
  320. documentation on TExport for more information.
  321.  
  322. TSet is a simple utility which reads a TabbyNet-produced text file called “Next Event”. This file contains the time of the next Tabby Event. TSet reads this text file and uses its information to alter the Second Sight Config file so that Second Sight launches TabbyNet when it should (this is critical if you’re running more than one mail event per day). Configure TSet by launching it while holding down the mouse button and telling it the name of your Second Sight application -- that's its only option. TSet should be run as one of the last events in any NetMail Event. You should *not* include it in Tabby Robot or CrashMail strings -- doing so can cause Second Sight to skip event schedules (this can happen if someone CrashMails you a few minutes before a scheduled event and stays on the board until after the Event was supposed to start: if you include TSet in this situation, it will tell Second Sight to skip the event; if you don’t include TSet here, Second Sight will launch TabbyNet properly). Read the specific documentation on TSet for more information.
  323.  
  324.                                Appendix B
  325.  
  326.                      Copyright & Distribution Notice
  327.  
  328. TExport, TImport and TSet are free and may be freely distributed as long
  329. as no money is charged for them and they are not altered in any way.
  330. Though they are free, they are not Public Domain programs -- I retain
  331. all rights to them. All three programs are ©1989 by Pete Johnson. If you
  332. want to include them in a commercially-sold compilation, contact me for
  333. permission. I will be reasonable if I’m consulted in advance.
  334.  
  335.  
  336.                                Appendix C
  337.  
  338.                               A Sales Pitch
  339.  
  340. If TExport, TImport and TSet are examples of what I give away free, imagine how good my “send in $25” programs are! If you aren’t a registered user of Archie, you’re missing out on a slew of good utility programs, including mehitabel, QU, Tally and many other Second Sight and Tabby enhancements I’ve written. Here’s a partial list of what registered Archie users receive:
  341.  
  342. • A “full-strength” version of Archie, a Command 50 application which adds more than 30 commands to the Second Sight structure, including log backup, string searches in text files, searches for files by date uploaded, searches for files by matching strings in names and descriptions, UserLog searches and editing and too much more to describe here. All commands can be used locally *or* remotely.
  343.  
  344. • mehitabel, a clever utility to automatically back up your message
  345. files, with selective deletes of old messages in whatever sections you
  346. choose. Version 2.0 runs up to 24 times faster than mehitabel 1.2 and
  347. offers many enhancements, including robust capability to recover damaged
  348. message sections, delete by age, archiving deleted messages to text
  349. files and more.
  350.  
  351. • Tally, an automatic message reporter which shows message activity for
  352. the past 10 days, section by section.
  353.  
  354. • QU, an enhancement to the built-in Second SIght 2.x “Quote of the Day” function.
  355.  
  356. • A bucketful of other original utility programs, including Back UL,
  357. Copy, Jump, Log-O-Matic, Splice, Timestamp, Timestart, Resize FSecs,
  358. Repath FSecs, Detour, FSec Cleaner and more (list subject to change as I
  359. get more good and bad ideas).
  360.  
  361. --------------------------------------------------------------------------
  362.  
  363.                         Registration Form
  364.  
  365. You can receive Archie ’89, mehitabel 2.0 and my other utilities by
  366. sending me a check for $25 (U.S. funds only), along with your name and
  367. address. Please include GEnie, CompuServe  and/or other network
  368. addresses if you have them.
  369.  
  370.  
  371. Name: __________________________________________________________________
  372.  
  373. BBS: ___________________________________________________________________
  374.  
  375. Address: _______________________________________________________________
  376.  
  377. City: ____________________________________________  Zip: _______________
  378.  
  379. State: _________________________________________________________________
  380.  
  381. Voice Phone: ______________________  BBS Phone: ________________________
  382.  
  383. GEnie, CompuServe, MacNet ID #: _________________ Fido Node: ___________
  384.  
  385.  
  386. Send to:
  387.  
  388. Pete Johnson
  389. P.O. Box 65074
  390. Los Angeles, CA 90065
  391.  
  392. --------------------------------------------------------------------------
  393.  
  394.                                Appendix D
  395.  
  396.                         AreaTrix & ff Announcement
  397.  
  398. I have recently developed several utilities which will make life more
  399. pleasant for the sysop and users of Macintosh BBSs which support points:
  400. AreaTrix, FF and Flip.
  401.  
  402. -------------------------------------------------------------------------
  403.  
  404. Here's what AreaTrix does:
  405.  
  406. * Automatically regulates Echo feeds for both points and "real" net
  407.   addresses. Point AreaFix requests are handled in the PointGroups file
  408.   whenever possible.
  409.  
  410. * Controls access to Echo areas with a sophisticated and flexible set of
  411.   keywords. If a caller does not have the correct keyword, the section
  412.   is not listed as available, and the caller cannot change the status of
  413.   the section.
  414.  
  415. * Forwards files on request, and deletes the files after they have been
  416.   sent.
  417.  
  418. * Controls access to the AreaFix and File Forward functions with a set
  419.   of passwords. In addition, the sysop can designate the "magic name"
  420.   for file forwarding.
  421.  
  422. * Maintains a log of all files forwarded.
  423.  
  424. * Keeps the areas.bbs and PointGroups lists sorted and backed up.
  425.  
  426. * Works with Tabby on Mansions, Second Sight/Second Sight and *any* other
  427.   Mac-based BBS which supports Tabby.
  428.  
  429. * Follows the basic MSDOS AreaFix syntax.
  430.  
  431. -------------------------------------------------------------------------
  432.  
  433. FF (Fast Forward) does the following:
  434.  
  435. * Forwards local private and net private mail to the Copernicus point
  436.   address you designate -- perfect for the point-based sysop and local
  437.   users who move to point addresses.
  438.  
  439. * Can handle up to 200 routing addresses.
  440.  
  441. * Can sort out pseudonyms for the sysop (mail sent to Bruce, Mr. Gerson,
  442.   The Bear etc. can all be sent to the sysop point address).
  443.  
  444. (Notes: FF works only with RRH/SS. The newest version is compatible with
  445.         all point software, not just Copernicus.)
  446.  
  447. -------------------------------------------------------------------------
  448.  
  449. Flip automatically forwards files to lists of destinations -- essential for routing NODEDIFFs, Fido News, etc. You can designate “Magic Folders” into which you can drop files for automatic routing.
  450.  
  451. -------------------------------------------------------------------------
  452.  
  453.  
  454. These programs are sold "as is," but I hope to continue the free upgrade policy I've maintained for Archie and mehitabel. These are not part of the Archie & mehitabel registered users package, but as always I'm grateful to registered users for their support.
  455.  
  456.                         Registration Form
  457.  
  458. You can receive AreaTrix, Flip and ff by sending me a check for $25 (U.S. funds only), along with your name and address. Please include GEnie, CompuServe  and/or other network addresses if you have them.
  459.  
  460.  
  461. Name: __________________________________________________________________
  462.  
  463. BBS: ___________________________________________________________________
  464.  
  465. Address: _______________________________________________________________
  466.  
  467. City: ____________________________________________  Zip: _______________
  468.  
  469. State: _________________________________________________________________
  470.  
  471. Voice Phone: ______________________  BBS Phone: ________________________
  472.  
  473. GEnie, CompuServe, MacNet ID #: _________________ Fido Node: ___________
  474.  
  475.  
  476. Send to:
  477.  
  478. Pete Johnson
  479. Glassell Park BBS
  480. Post Office Box 65074
  481. Los Angeles, CA 90065
  482.